package com.itheima.dto;

import com.itheima.domain.DishFlavor;
import com.itheima.domain.Setmeal;
import com.itheima.domain.SetmealDish;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class SetmealDto extends Setmeal {
  //todo:我也很奇怪这里为什么要用new ,如果不用new在调用工具类复制的时候会报非法参数错误
    private List<SetmealDish> flavors = new ArrayList<>();
    private String categoryName;
}
